<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input type="text" v-model="msg">
        <p>{{msg}}</p>
    </div>
    <script>
        const { createApp,ref,reactive } =vue
        createApp({
            setup(){
                const msg = ref("hello vue!")
                const state =reactive({
                    count:0
                })
                console.log(msg);
                
                return{
                    msg
                }
            }
        })
    </script>
</body>
</html>